<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form th:action="@{/doLogin}" method="post">
        用户名：<input name="username" /><br/>
        密码：<input name="password" type="password"><br/>
        <input type="hidden" name="redirec_url" th:value="${redirec_url}"/>
        <input type="submit" value="登录"/>

    </form>
</body>
</html>